package com.sp.system.user.core.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.List;

@Data
public class Role extends Model<Role> {

    private String id;

    private String roleName;

    private String remark;

    private String roleType;

    private Long roleCode;

    private List<Menu> menus;

    public Role(){};
    public Role(String id, String roleType) {
        this.id = id;
//        this.roleName = name;
        this.roleType = roleType;
    }
}
